pintobyte rngit
xous-core/kernel/src/platform/atsama5d2/mod.rs main (17e4bce8) Text, 638 B
// SPDX-FileCopyrightText: 2022 Foundation Devices, Inc. <hello@foundationdevices.com>
// SPDX-License-Identifier: Apache-2.0
pub mod aic;
pub mod pio;
pub mod pmc;
pub mod rand;
pub mod uart;
/// atsama5d2 specific initialization.
pub fn init() {
// The order of these init calls is important,
// don't rearrange them if you don't know what you're doing!
self::pmc::init();
self::pmc::enable_tc0();
self::pmc::enable_pio();
self::pmc::enable_aic();
self::pio::init();
self::pio::init_lcd_pins();
self::pmc::enable_lcdc();
self::aic::init();
self::rand::init();
self::uart::init();
}
Served by rngit 1.4.0 - Generated in 0.04s